package cn.edu360.streaming.model;

import java.io.Serializable;

/**
 * wzxjava@126.com
 * Created by wangzhixuan on 2017/05/18 21:35
 */
public class NginxLog implements Serializable {
    private static final String seprator = "\001";
    private static final long serialVersionUID = 3634884101242243900L;
    private String JDBERRNO;
    private String JDBID;
    private String apkSign;
    private String body_bytes_sent;
    private String channel;
    private String clientVersion;
    private String deviceID;
    private String deviceType;
    private String http_host;
    private String http_referer;
    private String http_user_agent;
    private String http_x_forwarded_for;
    private String isForeground;
    private String memberID;
    private String motd;
    private String network;
    private String operationid;
    private String phoneVen;
    private String proxyType;
    private String remote_addr;
    private String request_time;
    private String status;
    private String systemVersion;
    private String time_local;
    private String udid;
    private String upstream_addr;
    private String upstream_response_time;
    private String url_path;
    private String verb;

    public String getJDBERRNO() {
        return JDBERRNO;
    }

    public void setJDBERRNO(String JDBERRNO) {
        this.JDBERRNO = JDBERRNO;
    }

    public String getJDBID() {
        return JDBID;
    }

    public void setJDBID(String JDBID) {
        this.JDBID = JDBID;
    }

    public String getApkSign() {
        return apkSign;
    }

    public void setApkSign(String apkSign) {
        this.apkSign = apkSign;
    }

    public String getBody_bytes_sent() {
        return body_bytes_sent;
    }

    public void setBody_bytes_sent(String body_bytes_sent) {
        this.body_bytes_sent = body_bytes_sent;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getClientVersion() {
        return clientVersion;
    }

    public void setClientVersion(String clientVersion) {
        this.clientVersion = clientVersion;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getHttp_host() {
        return http_host;
    }

    public void setHttp_host(String http_host) {
        this.http_host = http_host;
    }

    public String getHttp_referer() {
        return http_referer;
    }

    public void setHttp_referer(String http_referer) {
        this.http_referer = http_referer;
    }

    public String getHttp_user_agent() {
        return http_user_agent;
    }

    public void setHttp_user_agent(String http_user_agent) {
        this.http_user_agent = http_user_agent;
    }

    public String getHttp_x_forwarded_for() {
        return http_x_forwarded_for;
    }

    public void setHttp_x_forwarded_for(String http_x_forwarded_for) {
        this.http_x_forwarded_for = http_x_forwarded_for;
    }

    public String getIsForeground() {
        return isForeground;
    }

    public void setIsForeground(String isForeground) {
        this.isForeground = isForeground;
    }

    public String getMemberID() {
        return memberID;
    }

    public void setMemberID(String memberID) {
        this.memberID = memberID;
    }

    public String getMotd() {
        return motd;
    }

    public void setMotd(String motd) {
        this.motd = motd;
    }

    public String getNetwork() {
        return network;
    }

    public void setNetwork(String network) {
        this.network = network;
    }

    public String getOperationid() {
        return operationid;
    }

    public void setOperationid(String operationid) {
        this.operationid = operationid;
    }

    public String getPhoneVen() {
        return phoneVen;
    }

    public void setPhoneVen(String phoneVen) {
        this.phoneVen = phoneVen;
    }

    public String getProxyType() {
        return proxyType;
    }

    public void setProxyType(String proxyType) {
        this.proxyType = proxyType;
    }

    public String getRemote_addr() {
        return remote_addr;
    }

    public void setRemote_addr(String remote_addr) {
        this.remote_addr = remote_addr;
    }

    public String getRequest_time() {
        return request_time;
    }

    public void setRequest_time(String request_time) {
        this.request_time = request_time;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public String getTime_local() {
        return time_local;
    }

    public void setTime_local(String time_local) {
        this.time_local = time_local;
    }

    public String getUdid() {
        return udid;
    }

    public void setUdid(String udid) {
        this.udid = udid;
    }

    public String getUpstream_addr() {
        return upstream_addr;
    }

    public void setUpstream_addr(String upstream_addr) {
        this.upstream_addr = upstream_addr;
    }

    public String getUpstream_response_time() {
        return upstream_response_time;
    }

    public void setUpstream_response_time(String upstream_response_time) {
        this.upstream_response_time = upstream_response_time;
    }

    public String getUrl_path() {
        return url_path;
    }

    public void setUrl_path(String url_path) {
        this.url_path = url_path;
    }

    public String getVerb() {
        return verb;
    }

    public void setVerb(String verb) {
        this.verb = verb;
    }

    @Override
    public String toString() {
        return JDBERRNO
                + seprator + JDBID
                + seprator + apkSign
                + seprator + body_bytes_sent
                + seprator + channel
                + seprator + clientVersion
                + seprator + deviceID
                + seprator + deviceType
                + seprator + http_host
                + seprator + http_referer
                + seprator + http_user_agent
                + seprator + http_x_forwarded_for
                + seprator + isForeground
                + seprator + memberID
                + seprator + motd
                + seprator + network
                + seprator + operationid
                + seprator + phoneVen
                + seprator + proxyType
                + seprator + remote_addr
                + seprator + request_time
                + seprator + status
                + seprator + systemVersion
                + seprator + time_local
                + seprator + udid
                + seprator + upstream_addr
                + seprator + upstream_response_time
                + seprator + url_path
                + seprator + verb;
    }
}
